Generic 9x9

Game hierarchy

• Game
    • Generic Chess
        • Generic x9
            • Generic 9x9

Piece Types

Internal NameNameNotationAdded ByNotes
KingKingKGeneric Chess 
PawnPawnPGeneric Chess 

Game Variables

From Game:

Name = string
Invented = string
InventedBy = string
NumberOfSquareColors = integer
FENFormat = string
FENStart = string
Array = string
DeduplicateMoves = boolean
StaticExchangeEvaluation = boolean

From Generic Chess:

StalemateResult = choice of { Draw, Win, Loss }   (default: Draw)
PromotionRule = choice of { None, Standard, Replacement, Custom }   (default: Standard)
PromotionTypes = string
BareKing = boolean   (default: false)
EnPassant = boolean   (default: true)
PromotingType = PieceType   (default: Pawn)
CastlingType = PieceType   (default: King)

From Generic x9:

PawnDoubleMove = boolean

From Generic 9x9:

Castling = choice of:

  • Standard: King starting on the e file slides two squares either direction, subject to the usual restrictions, to castle with the piece in the corner
  • Long: King starting on the e file slides three squares either direction, subject to the usual restrictions, to castle with the piece in the corner
  • Flexible: King starting on the e file slides two or more squares, subject to the usual restrictions, to castle with the piece in the corner
  • Close-Rook: King starting on the e file slides two squares either direction, subject to the usual restrictions, to castle with the piece on the b or h file
  • Custom: Indicates a custom rule implemented by a derived class
  • None: No castling

 
 

COPYRIGHT (C) 2021 BY GREG STRONG